#include <stdio.h>
#include <stdlib.h>
#include "student.h"
void filewrite(struct Stu_InFoma t[],int num)
{
	FILE* fp;
	int i;
	if ((fp = fopen("b.txt","wb")) == NULL )
	{
		printf("file is not found\n");
		exit(1);
	}
	for (i=0; i<num; i++)
	{
		fwrite(&t[i],sizeof(struct Stu_InFoma),100,fp);
//		fwrite()
	}
	
	fclose(fp);
}
//int main()
//{
//	filewrite();
//	return 0;
//}
